package com.nation.serviceImpl;

import com.nation.dao.RecorderManageDao;
import com.nation.domain.VRecorderManage;
import com.nation.service.RecorderManageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sun.rmi.transport.proxy.RMIDirectSocketFactory;

import java.util.List;
import java.util.Map;

/**
 * Created by dqd on 2017/11/4.
 */
@Service
public class RecorderManageServiceImpl implements RecorderManageService{
    @Autowired
    private RecorderManageDao RecorderManageDao;
    @Override
    public List<VRecorderManage> findAll() {
        return RecorderManageDao.findAll();
    }

    @Override
    public VRecorderManage findByCountryCode(String country_code) {
        return RecorderManageDao.findByCountryCode(country_code);
    }

    @Override
    public Boolean update(VRecorderManage vRecorderManage) {
        return RecorderManageDao.update(vRecorderManage);
    }

    @Override
    public List<VRecorderManage> findByLimit(Map<String, Object> map) {
        return null;
    }

    @Override
    public Boolean insert(VRecorderManage vRecorderManage) {
        return null;
    }

    @Override
    public List<VRecorderManage> findByCondition(Map<String, Object> map) {
        return RecorderManageDao.findByCondition(map);
    }

    @Override
    public Boolean delete(String pk) {
        return null;
    }

    @Override
    public Boolean deleteRecoder(String yhzh) {
        return RecorderManageDao.deleteRecoder(yhzh);
    }

    @Override
    public Boolean insertRecoder(VRecorderManage VRecorderManage) {
        return RecorderManageDao.insertRecoder(VRecorderManage);
    }

    @Override
    public Integer countAllManager() {
        return RecorderManageDao.countAllManager();
    }


}
